all:test1 pdfview


pkginstall:
	-sudo mkdir /usr/share/fonts/msfonts
	-sudo cp /mnt/vboxshare/*.ttf /usr/share/fonts/msfonts
	-sudo cp /mnt/vboxshare/simsun.ttc /usr/share/fonts/msfonts/simsun.ttf
	cd /usr/share/fonts/msfonts
	sudo chmod 754 *
	sudo mkfontdir
	sudo mkfontscale
	sudo fc-cache -fv

test1:
	xelatex helloworld.tex
	xelatex helloworld_cn.tex
	xelatex helloworld_cjk.tex
	xelatex helloworld_ms.tex
test2:

test3:

test4:

pdfview:
	evince *.pdf 

clean:
	-rm -f *.pdf *.aux *.log core *.tex~ *.dir *.scale
 

